package com.homedo.odin.solution.model.request.pc.require;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import lombok.Data;

@ApiModel(description = "用户提交需求")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class UserRequirePcRequestBean {

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id", required = true)
    @NotNull(message = "用户 ID 不能为空")
    private Integer userId;
    /**
     * 用户名称
     */
    @ApiModelProperty(value = "用户名称", required = true)
    @NotNull(message = "用户名称不能为空")
    private String userName;
    /**
     * 公司名称
     */
    @ApiModelProperty("公司名称")
    private String companyName;
    /**
     * 联系人
     */
    @ApiModelProperty(value = "联系人", required = true)
    @NotNull(message = "联系人不能为空")
    private String contacts;
    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码", required = true)
    @NotNull(message = "手机号码不能为空")
    private String mobile;
    /**
     * 需求描述
     */
    @ApiModelProperty(value = "需求描述", required = true)
    @NotNull(message = "需求描述不能为空")
    private String description;
    /**
     * 方案编号
     */
    @ApiModelProperty("方案编号")
    private Long solutionId;
    /**
     * 方案名称
     */
    @ApiModelProperty("方案名称")
    private String solutionName;

}
